<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <title>在线OJ平台 | CodePioneer</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap">
    <style>
        :root {
            --primary-color: #2563eb;    /* 主色调-科技蓝 */
            --hover-color: #1d4ed8;     /* 悬停加深色 */
            --bg-overlay: rgba(10, 25, 47, 0.92); /* 背景覆盖色 */
            --text-primary: #f8f9fa;    /* 主文字色 */
            --text-secondary: #e0f2fe;  /* 次文字色 */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            font-size: 16px;
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            line-height: 1.6;
            background: linear-gradient(var(--bg-overlay), var(--bg-overlay)), 
                        url('https://picsum.photos/1920/1080?random=1') center/cover fixed;
        }

        .container {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* 导航栏优化 */
        .navbar {
            padding: 0 2rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 60px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-links a, .nav-actions a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--text-primary);
            background-color: rgba(255, 255, 255, 0.1);
        }

        .nav-actions {
            display: flex;
            gap: 1rem;
        }

        .nav-actions .login {
            background-color: var(--primary-color);
            color: white;
        }

        .nav-actions .login:hover {
            background-color: var(--hover-color);
        }

        /* 主内容区优化 */
        .content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .content h1 {
            font-size: 2.5rem;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .content p {
            font-size: 1.125rem;
            color: var(--text-secondary);
            margin-bottom: 2.5rem;
            max-width: 600px;
        }

        .cta-button {
            display: inline-block;
            padding: 0.875rem 2rem;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            font-size: 1.125rem;
            font-weight: 600;
            border-radius: 8px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .navbar {
                padding: 0 1rem;
            }

            .nav-links {
                gap: 1rem;
            }

            .nav-links a {
                padding: 0.5rem 0.75rem;
            }

            .content h1 {
                font-size: 2rem;
            }

            .content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .nav-links {
                display: none; /* 移动端可替换为汉堡菜单，这里简化处理 */
            }
        }
    </style>
</head>

<body>
    <div class="container">
        <!-- 导航栏 -->
        <nav class="navbar">
            <div class="nav-content">
                <div class="nav-links">
                    <a href="/">首页</a>
                    <a href="/all_question">题库</a>
                    <a href="#">竞赛</a>
                    <a href="#">社区</a>
                    <a href="#">求职</a>
                </div>
                <div class="nav-actions">
                    <a href="#">联系我们</a>
                    <a href="#" class="login">登录</a>
                </div>
            </div>
        </nav>

        <!-- 主内容 -->
        <main class="content">
            <h1>欢迎来到 CodePioneer 在线OJ平台</h1>
            <p>专注编程能力提升的专业在线评测平台，提供海量算法题、竞赛模拟、企业真题等优质内容，助力开发者快速成长</p>
            <a href="/all_question" class="cta-button">立即探索题库 →</a>
        </main>
    </div>
</body>

</html>
 